<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ABMAtributo.ascx.cs" Inherits="ConcursoCV.UI.WebUserControls.AdmVersionesCV.ABMAtributo" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<table cellSpacing="-1" cellPadding="-1" width="100%">
	<tr>
		<td class="espacio">&nbsp;</td>
	</tr>
	<tr>
		<td>
			<table cellSpacing="0" cellPadding="0" width="100%">
				<tr>
					<td>&nbsp;</td>
					<td width="49"><IMG src="img/icons/SCREEN.GIF"></td>
					<td>&nbsp;</td>
					<td class="titulo_pantalla"><asp:label id="lblTitulo" runat="server"></asp:label></td>
					<td>&nbsp;</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td class="espacio">&nbsp;</td>
	</tr>
	<tr>
		<td class="separador">&nbsp;</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td align="center">
			<table class="fondoForm" cellSpacing="0" cellPadding="0" width="100%">
				<tr>
					<td class="titulo_2" colSpan="4">Detalle Atributo</td>
				</tr>
				<tr>
					<td colSpan="4">&nbsp;</td>
				</tr>
				<tr>
					<td width="5%">&nbsp;</td>
					<td colSpan="2"><asp:validationsummary id="ValidationSummary1" runat="server"></asp:validationsummary></td>
					<td width="30%">&nbsp;</td>
				</tr>
				<tr>
					<td width="5%">&nbsp;</td>
					<td class="label" width="10%">Nombre:</td>
					<td><asp:textbox id="txtNombre" Width="100%" Runat="server" MaxLength="50" CssClass="controles"></asp:textbox></td>
					<td width="30%">&nbsp;
						<asp:requiredfieldvalidator id="rfvNombre" runat="server" ControlToValidate="txtNombre" ErrorMessage="Ingrese el Nombre">*</asp:requiredfieldvalidator></td>
				</tr>
				<tr>
					<td class="espacio" colSpan="4">&nbsp;</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td class="label">Tipo:</td>
					<td class="controles"><asp:dropdownlist id="ddlTipo" Width="30%" Runat="server" CssClass="controles"></asp:dropdownlist>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td class="espacio" colSpan="4">&nbsp;</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td class="label">Longitud:</td>
					<td><asp:textbox id="txtLongitud" Width="100%" Runat="server" MaxLength="50" CssClass="controles"></asp:textbox></td>
					<td><asp:requiredfieldvalidator id="rfvLongitud" runat="server" ControlToValidate="txtLongitud" ErrorMessage="Ingrese la Longitud">*</asp:requiredfieldvalidator></td>
				</tr>
				<tr>
					<td class="espacio" colSpan="4">&nbsp;</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td class="controles"><asp:checkbox id="chkOpcional" Runat="server" CssClass="controles" Text="Opcional"></asp:checkbox></td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td class="espacio" colSpan="4">&nbsp;</td>
				</tr>
			</table>
			<table cellSpacing="0" cellPadding="0" width="100%">
				<tr>
					<td colSpan="4">&nbsp;</td>
				</tr>
				<tr>
					<td align="right" colSpan="4"><asp:button id="btnAceptar" runat="server" CssClass="boton" Text="Aceptar"></asp:button>&nbsp;
						<asp:button id="btnCancelar" runat="server" CssClass="boton" Text="Cancelar" CausesValidation="False"></asp:button></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td align="right"></td>
	</tr>
</table>
<script>	
function isNumberKey(evt)
{
    var charCode = (evt.which) ? evt.which : event.keyCode
    if (charCode > 31 && (charCode < 48 || charCode > 57))
    return false;

    return true;
}
</script>
